From: Jasper St. Pierre Date: Mon, 17 Oct 2011 15:20:34 +0000 (-0400) Subject: Drop deprecated g_thread_init call X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7412 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4bb48e56d204b8a2b06624ec97c4adcca856234b;p=gnome-shell.git Drop deprecated g_thread_init call GThread will automatically initialize at program start now. https://bugzilla.gnome.org/show_bug.cgi?id=662011 --- diff --git a/src/run-js-test.c b/src/run-js-test.c index 04e9d7f22..5ee6ac869 100644 --- a/src/run-js-test.c +++ b/src/run-js-test.c @@ -73,8 +73,6 @@ main(int argc, char **argv) gsize len; int code; - g_thread_init (NULL); - gtk_init (&argc, &argv); clutter_x11_set_display (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ())); diff --git a/src/test-recorder.c b/src/test-recorder.c index 655c887db..e443322a5 100644 --- a/src/test-recorder.c +++ b/src/test-recorder.c @@ -29,7 +29,6 @@ int main (int argc, char **argv) ClutterAnimation *animation; ClutterColor red, green, blue; - g_thread_init (NULL); gst_init (&argc, &argv); if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) return 1;